package projetoSDDama;

import javax.swing.Action;

import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.input.MouseEvent;
import javafx.stage.Stage;

public class TratarEventos extends Application implements EventHandler<MouseEvent>{

	@Override
	public void start(Stage arg0) throws Exception {
	}

	@Override
	public void handle(MouseEvent eventoMouse) {
		
		System.out.println("Testando click...");
		System.out.println(eventoMouse.getSceneX());
		System.out.println(eventoMouse.getSceneY());
	}
}
